package com.csw.springcloudApp.springcloudAppMaster.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@AllArgsConstructor
/**
 * @author 1
 */
@NoArgsConstructor
@Accessors(chain = true)
@Data
public class Product_info implements Serializable {
	@Id
	private String productId; // `product_id` varchar(99) NOT NULL,
	private String prodcutName; // `prodcut_name` varchar(99) DEFAULT NULL COMMENT '商品名称',
	private Double productPrice;// `product_price` double(99,2) DEFAULT NULL COMMENT '单价',
	private Integer productStock; // `product_stock` int(99) DEFAULT NULL COMMENT '库存',
	private String productDescription; // `product_description` varchar(99) DEFAULT NULL COMMENT '描述',
	private String productIcon; // `product_icon` varchar(512) DEFAULT NULL COMMENT '小图',
	private Integer categoryType; // `category_type` int(99) DEFAULT NULL COMMENT '类目',
	private Date createTime; // `create_time` date DEFAULT NULL,
	private Integer sales; // `sales` int(99) DEFAULT NULL,
	private Date updateTime; // `update_time` date DEFAULT NULL COMMENT '修改时间',
}
